DataSource for Entity Framework in WPF
C1.LiveLinq Namespace / Hints Class / Indexed Method / Indexed<T>(T,IndexingHintAction) Method
This can be any type, because hints are applicable to expressions of any type.
The value of the expression the hint is applied to. This value is not actually used by the hint, because the hint is never executed, its role is purely declarative.
The action specified by the hint.

In This Topic
    Indexed<T>(T,IndexingHintAction) Method
    In This Topic
    A hint with specified action.
    Syntax
    'Declaration
     
    Public Overloads Shared Function Indexed(Of T)( _
       ByVal value As T, _
       ByVal action As IndexingHintAction _
    ) As T
    public static T Indexed<T>( 
       T value,
       IndexingHintAction action
    )

    Parameters

    value
    The value of the expression the hint is applied to. This value is not actually used by the hint, because the hint is never executed, its role is purely declarative.
    action
    The action specified by the hint.

    Type Parameters

    T
    This can be any type, because hints are applicable to expressions of any type.

    Return Value

    Formally, the hint returns the same value that it receives in the parameter. In fact, it is never executed, its role is purely declarative.
    Remarks

    A hint does not change the value of the expression it is applied to. It only tells LiveLinq query optimizer to create and use an index on that expression, if possible. In fact, hints are removed from the expression before it is executed.

    See Also: How to create indexes.

    See Also